package action.board;

import java.sql.SQLException;

import service.BoardService;

public class BoardDeleteAction
{
	private BoardService boardService;
	private int no;

	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public void setBoardService(BoardService boardService)
	{
		this.boardService = boardService;
	}
	public String execute() throws SQLException
	{
		boardService.getDeleteBoard(no);
		return "success";
	}
}